package com.education.wisdom.service.impl;

import com.education.wisdom.mapper.MsPaperClassMapper;
import com.education.wisdom.pojo.MsPaperClass;
import com.education.wisdom.service.MsPaperClassService;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public class MsPaperClassServiceImpl implements MsPaperClassService {

    @Autowired
    private MsPaperClassMapper paperClassMapper;

    @Override
    public int insertMsPaperClass(MsPaperClass paperClass) {
        return paperClassMapper.insertMsPaperClass(paperClass);
    }

    @Override
    public List<MsPaperClass> findMsPaperClass(MsPaperClass paperClass) {
        return paperClassMapper.findMsPaperClass(paperClass);
    }
}
